﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;

namespace Basics
{
    class Rock : DrawableObject, ICollidable
    {
        public Rock(Texture2D texture, Vector2 position) : base(texture, 0.5f)
        {
            this.Position = position;
        }

        public Rectangle GetBoundingBox()
        {
            return new Rectangle((int)this.Position.X, (int)this.Position.Y, this.Texture.Width, this.Texture.Height);
        }
    }
}
